﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TrucTiepService
{

        public class JsTreeModel
        {
            public string id { get; set; }
            public string parent { get; set; }
            public string text { get; set; }
            public string icon { get; set; }
            public StateTree state { get; set; }
            public string[] children { get; set; }
        }
        public class JsTreeAjaxModel
        {
            public string id { get; set; }
            public string parent { get; set; }
            public string text { get; set; }
            public NodeDataAccountInfo data { get; set; }
            public string icon { get; set; }
            public StateTree state { get; set; }
            public bool children { get; set; }

        }
        public class StateTree
        {
            public bool opened { get; set; }
            public bool disabled { get; set; }
            public bool selected { get; set; }
        }
        public class TriAnDongConfigModels
        {
            public int Id { get; set; }
            public int? Floor { get; set; }
            public int? Condition { get; set; }
            public double? Commission { get; set; }
        }

        public class NodeDataAccountInfo
        {
            public int downlineId { get; set; }
            public string UserName { get; set; }
            public string HoTen { get; set; }
            public int TotalF1 { get; set; }
            public double Invest { get; set; }
        }
}